<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    
    // 1.文档输出内容
    document.write(`我是div标签`)
    document.write(`<h1>我是一级标题</h1>`)
    alert(`要出的内容`)
    //2.控制台打印输出，给程序员
    console.log(`控制台打印输出`)
    //3.输入语句
    prompt(`请输入您的年龄`)
    
    </script>
</body>
</html>